package cn.itcast.zt.java8.model.proxy.self;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * 创建开关方法接口,并在接口中定义执行的方法
 * create by zhangtian105 on 2021/9/15
 */
public interface ISwitchFunction {
    Object run(Method method, Object obj, Object... arg) throws InvocationTargetException, IllegalAccessException ;
}
